import './assets/main.css';

import { createApp } from 'vue';
import { createPinia } from 'pinia';

import App from './App.vue';
import router from './router';
import 'virtual:svg-icons-register';
import SvgIcon from './components/svg-icon/index.vue';
import direction from './utils/directives';
import 'amfe-flexible';

// import VConsole from 'vconsole';
// if (import.meta.env.MODE === 'development') {
//   new VConsole();
// }

const app = createApp(App);
app.use(createPinia());
app.use(router);
app.use(direction);
app.component('svg-icon', SvgIcon);

app.mount('#app');
